<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>企业or个人</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform,no-store, no-cache, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="stylesheet" href="/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <link rel="stylesheet" href="./../../../lib/jqueryZtree/3.5.12/css/zTreeStyle/zTreeStyle.min.css">
    <script type="text/javascript" src="/lib/jquery/jquery.js" charset="utf-8"></script>
</head>
<body>
<script type="text/javascript" src="/lib/layui/layui.js"></script>
<script src="/static/js/main.js"></script>
<script>
    layui.use(['jquery',  'configureCom','sessionFun' ,'configure', 'jsDictFile'], function () {
        var $ = layui.jquery;
        var sessionFun = layui.sessionFun;
        var configure = layui.configure;
        var loginData = sessionFun.get(configure.SESSION_LOGIN_INFOR_DATA);//获取登录信息
        if(loginData.result.org.orgPerson  == 1){
            window.location.href ='/pages/sys/org/myOrgDetail.html';//企业
        }
        if(loginData.result.org.orgPerson  == 2){
            window.location.href = '/pages/sys/org/myPersonalDetail.html';//个人
        }
    });
</script>
</body>
</html>